package com.oocl.o2o.merchant.service;

import com.oocl.o2o.merchant.entity.Merchant;
import com.oocl.o2o.merchant.vo.AuditInfo;

public interface MerchantManager {
	Merchant login(String username, String password);

	Merchant register(Merchant merchant, byte[] idCardByte, byte[] portraitByte);

	Merchant reAudit(String merchantId, String address, String idCard, String portrait, byte[] idCardByte,
			byte[] portraitByte);

	AuditInfo getAuditInfo(String username);

	Merchant getMerchant(String id);
	
	Merchant getMerchantByUsername(String username);
}
